package com.yanfan.energy.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 物料任务中间表(TaskMaterialApprove)实体类
 *
 * @author makejava
 * @since 2023-02-02 14:13:32
 */
public class TaskMaterialApprove implements Serializable {
    private static final long serialVersionUID = -40393949661526154L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 任务编号
     */
    private Long taskId;
    /**
     * 审批编号
     */
    private Long approvalId;
    /**
     * 物料编号
     */
    private Long materialId;
    /**
     * 物料数量
     */
    private Long materialCount;
    /**
     * 图片
     */
    private String imgUrl;
    /**
     * 关联事件id
     */
    private Long incident;
    /**
     * 关联事件编号
     *
     * @author caijinkang
     * @date 2023/2/2 15:20
     * @param null
     * @return null
     */
    private String incidentNumber;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    private Date createdDate;
    /**
     * 修改时间
     */
    private Date lastModifiedDate;

    private String name;
    /**
     * 物料集合对象
     *
     * @author caijinkang
     * @date 2023/2/2 14:16
     * @param null
     * @return null
     */
    private List<Materials> materials;
    /**
     * 任务集合对象
     *
     * @author caijinkang
     * @date 2023/2/2 14:16
     * @return java.lang.Long
     */
    private List<Assignments> assignments;
    /**
     * 审批集合对象
     *
     * @author caijinkang
     * @date 2023/2/2 14:16
     * @return java.lang.Long
     */
    private List<Approvals> approvals;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Long getApprovalId() {
        return approvalId;
    }

    public void setApprovalId(Long approvalId) {
        this.approvalId = approvalId;
    }

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public Long getMaterialCount() {
        return materialCount;
    }

    public void setMaterialCount(Long materialCount) {
        this.materialCount = materialCount;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Long getIncident() {
        return incident;
    }

    public void setIncident(Long incident) {
        this.incident = incident;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getLastModifiedDate() {
        return lastModifiedDate;
    }

    public void setLastModifiedDate(Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

    public List<Materials> getMaterials() {
        return materials;
    }

    public void setMaterials(List<Materials> materials) {
        this.materials = materials;
    }

    public List<Assignments> getAssignments() {
        return assignments;
    }

    public void setAssignments(List<Assignments> assignments) {
        this.assignments = assignments;
    }

    public List<Approvals> getApprovals() {
        return approvals;
    }

    public void setApprovals(List<Approvals> approvals) {
        this.approvals = approvals;
    }

    public String getIncidentNumber() {
        return incidentNumber;
    }

    public void setIncidentNumber(String incidentNumber) {
        this.incidentNumber = incidentNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

